home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / 422mods.zip / VK0004.422 < prev    next >
Text File  |  1993-02-10  |  3KB  |  86 lines

  1. VK004FIX.422 - Fix For VK0004.422 - Number Of Files Fix
  2. Virgin Killer #1 @15298
  3. Sun Feb 07 22:54:54 1993
  4. ┌───────────────────────────────────────────────────────────────────────────┐
  5. │ MOD NAME: VK004FIX.422           MOD AUTHOR: VIRGIN KILLER @15298         │
  6. │ DIFFICULTY: Easier Than Madonna  MOD DATE: FEBRUARY 7, 1993               │
  7. │ WWIV VERSION: 4.22                                                        │
  8. │ FILES AFFECTED: BBS.C                                                     │
  9. │ DESCRIPTION: ADDS A BETTER TRANSFER AREA LISTING AND IT WORKS WITH DINO'S │
  10. │              CONFERENCING MOD.                          .                 │
  11. └───────────────────────────────────────────────────────────────────────────┘
  12. The Number Of Files Did Not Show Up Properly, Now It Is Fixed To Work Right
  13. If You Have Already Installed This Mod, Just Add The Two Lines Marked With:
  14. /*VK004FIX.422*/  And It Will Work Right.
  15.  
  16.  
  17. STEP 1:  Back Up Your BBS
  18.  
  19. STEP 2:  Load Up BBS.C
  20.  
  21. STEP 3:  Search For: void dirlist(void)
  22.  
  23. STEP 4:  Block Out Existing void dirlist(void)
  24.  
  25. STEP 5:  Block Read In The Following In It's Place:
  26.  
  27. /********************** Following Added:  VK0004.422 ***********************/
  28. void dirlist(void)
  29. {
  30.   int i,i1,i2,abort;
  31.   char s[120],s1[150];
  32.  
  33.   if (okansi()) {
  34.     abort=0;
  35.     nl();
  36.     pla(" 5Num  7Directory Name                             2Files",&abort);0
  37.     pla("3╔═════╦══════════════════════════════════════════╦══════╗ ",&abort);0
  38.     i=0;
  39.     while ((i<num_dirs) && (udir[i].subnum!=-1)) {
  40.       dlicscan1(udir[i].subnum);    /*VK004FIX.422*/
  41.       sprintf(s,"3║ 5%-3s 3║ 7%-40s 3║ 2%-4d 3║",0
  42.               udir[i].keys, directories[udir[i].subnum].name,numf);
  43.       if (strcmp(udir[curdir].keys,udir[i].keys)==0)
  44.         strcat(s," 6< Current directory");0
  45.       pla(s,&abort);
  46.       closedl();                    /*VK004FIX.422*/
  47.       i++;
  48.     }
  49.     pla("3╚═════╩══════════════════════════════════════════╩══════╝ ",&abort);0
  50.     if (i==0)
  51.      pla("6None.",&abort);0
  52.   } else {
  53.     abort=0;
  54.     nl();
  55.     pla(get_string(6),&abort);
  56.     nl();
  57.     i=0;
  58.     while ((i<num_dirs) && (udir[i].subnum!=-1)) {
  59.       sprintf(s,"%3s - %s",udir[i].keys, directories[udir[i].subnum].name);
  60.       pla(s,&abort);
  61.       i++;
  62.     }
  63.     if (i==0)
  64.       pla(get_string(5),&abort);
  65.     nl();
  66.   }
  67. }
  68. /*********************** Previous Added: VK0004.422 ************************/
  69.  
  70. STEP 6: Compile Your BBS!
  71.  
  72. DISCLAIMER:  If it causes your bbs to blow up or your users start to mutate,
  73.              don't blame me.  But if there are any other probs with this mod,
  74.              leave me e-mail:
  75.  
  76. THIS Has Been A VK Production!  All Rights And Lefts Reserved (and any beer to
  77. go with it plus a table for two)
  78. 9-----
  79. 93Just Leave Me Alone
  80. 97Virgin Killer
  81.  
  82. 87█1\ 7█1\7██1\ 7█1\7█▀▀1\7█▀▀█1\7█▀▀█1\7█▀▀▀1\7█1\7█1\  7█1\7█▀▀1\7██1\ 7█1\  7█▀▀▀1\7█1\7██1\ 7█1\ 21(512)339-78210
  83. 77█1\ 7█1\7█1\7█1\7█1\7█▀1\ 7█1\ 7█1\7█▀█1\\7█1\7▀█1\7█1\ 7█1\7█1\\7█▀1\ 7█1\7█1\7█1\  7▀▀▀█1\7█1\7█1\7█1\7█1\     5 3ASV0
  84. 67█▄▄█1\7█1\ 7██1\7█1\  7█▄▄█1\7█1\7 █1\7█▄▄█1\7█1\  7█1\\ 7█▄▄ █1\ 7██1\  7▄▄▄█1\7█1\7█1\ 7██1\   416.8k Baud0
  85. 51\   \ \ \ \ \  \   \ \  \\   \ \   \  \  \ \ \ \  \   \ \ \ \ \   6WWIV v4.220
  86.